odoo.define('warehouse_extend.form_widgets', function (require) {
    "use strict";
    var core = require('web.core');
    var _t = core._t;
    core.form_widget_registry.get("boolean_button").include({
        init: function () {
            this._super.apply(this, arguments);
            if (this.options["terminology"] == "eliminate") {
                this.string_true = _t("Normal Goods");
                this.hover_true = _t("Set Eliminate");
                this.string_false = _t("Eliminate");
                this.hover_false = _t("Set Normal Goods");
            }
        }
    });
});